@@ -22,6 +22,11 @@ public class Student implements Serializable {
     */
    private Integer sage;

    /**
     *
     */
    private String major;

    private static final long serialVersionUID = 1L;

    /**
     @@ -66,6 +71,20 @@ public class Student implements Serializable {
     this.sage = sage;
     }

     /**
     *
     */
    public String getMajor() {
        return major;
    }

    /**
     *
     */
    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            @@ -80,7 +99,8 @@ public class Student implements Serializable {
                Student other = (Student) that;
        return (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()))
                        && (this.getSname() == null ? other.getSname() == null : this.getSname().equals(other.getSname()))
                        && (this.getSage() == null ? other.getSage() == null : this.getSage().equals(other.getSage()));
            && (this.getSage() == null ? other.getSage() == null : this.getSage().equals(other.getSage()))
                        && (this.getMajor() == null ? other.getMajor() == null : this.getMajor().equals(other.getMajor()));
            }

            @Override
            @@ -90,6 +110,7 @@ public class Student implements Serializable {
                result = prime * result + ((getSid() == null) ? 0 : getSid().hashCode());
                result = prime * result + ((getSname() == null) ? 0 : getSname().hashCode());
                result = prime * result + ((getSage() == null) ? 0 : getSage().hashCode());
                result = prime * result + ((getMajor() == null) ? 0 : getMajor().hashCode());
        return result;
            }

            @@ -102,6 +123,7 @@ public class Student implements Serializable {
        sb.append(", sid=").append(sid);
        sb.append(", sname=").append(sname);
        sb.append(", sage=").append(sage);
        sb.append(", major=").append(major);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
